package com.xxxx.rpc.service;

import com.xxxx.api.service.BrandService;
import com.xxxx.api.pojo.Brand;
import com.xxxx.api.pojo.BrandExample;
import com.xxxx.rpc.mapper.BrandMapper;
import org.apache.dubbo.config.annotation.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author : ymd
 * @Date : 2020/11/5 0005 9:47
 * @Version 1.0
 * @Description : 品牌相关实现类
 */
@Service(version = "1.0")
public class BrandServiceImpl implements BrandService {
    @Resource
    private BrandMapper brandMapper;

    @Override
    public List<Brand> selectBrandList() {
        return brandMapper.selectByExample(new BrandExample());
    }
}
